package com.hzhk.happyrent.bean.login;

import android.support.annotation.Nullable;

import com.hzhk.happyrent.bean.rent.BaseModel;

import java.io.Serializable;

/**
 * User: hzhk(1097282555@qq.com)
 * Date: 2017/11/20
 * Time: 16:41
 * progject: HappyRent
 * Describe： ${Describe}
 */
public class LoginResponse extends BaseModel{


    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * user_info : {"id":"19","name":null,"phone":"13161776004","avatar":null,"password":"dc483e80a7a0bd9ef71d8cf973673924","money":"0.00","login_time":"1511573560","last_login_ip":"1.203.183.158","reg_ip":"1.203.183.158","created_at":null,"updated_at":"1511573560","status":"1","job":null,"integral":"0","credit":"0"}
         */

        private UserInfoBean user_info;

        public UserInfoBean getUser_info() {
            return user_info;
        }

        public void setUser_info(UserInfoBean user_info) {
            this.user_info = user_info;
        }

        public static class UserInfoBean implements Serializable {
            /**
             * id : 19
             * name : null
             * phone : 13161776004
             * avatar : null
             * password : dc483e80a7a0bd9ef71d8cf973673924
             * money : 0.00
             * login_time : 1511573560
             * last_login_ip : 1.203.183.158
             * reg_ip : 1.203.183.158
             * created_at : null
             * updated_at : 1511573560
             * status : 1
             * job : null
             * integral : 0
             * credit : 0
             */

            private String id;
            private String name;
            private String phone;
            private String avatar;
            private String password;
            private String money;
            private String login_time;
            private String last_login_ip;
            private String reg_ip;
            private String created_at;
            private String updated_at;
            private String status;
            private String job;
            private String integral;
            private String credit;
            private String is_auth;

            public String getIs_auth() {
                return is_auth;
            }

            public void setIs_auth(String is_auth) {
                this.is_auth = is_auth;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getPassword() {
                return password;
            }

            public void setPassword(String password) {
                this.password = password;
            }

            public String getMoney() {
                return money;
            }

            public void setMoney(String money) {
                this.money = money;
            }

            public String getLogin_time() {
                return login_time;
            }

            public void setLogin_time(String login_time) {
                this.login_time = login_time;
            }

            public String getLast_login_ip() {
                return last_login_ip;
            }

            public void setLast_login_ip(String last_login_ip) {
                this.last_login_ip = last_login_ip;
            }

            public String getReg_ip() {
                return reg_ip;
            }

            public void setReg_ip(String reg_ip) {
                this.reg_ip = reg_ip;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getJob() {
                return job;
            }

            public void setJob(String job) {
                this.job = job;
            }

            public String getIntegral() {
                return integral;
            }

            public void setIntegral(String integral) {
                this.integral = integral;
            }

            public String getCredit() {
                return credit;
            }

            public void setCredit(String credit) {
                this.credit = credit;
            }
        }
    }
}
